4.6 AT+ICF Serial Interface Character FramingThe command AT+ICF controls the serial interface character framing format and parity used for receiving and transmitting.
The following settings are supported:
<format>(num)(&W)(&V)
<parity>(num)(&W)(&V)Specifies the method of calculating the parity bit, if a parity bit is supported by <format>.
If <format> does not support parity, this parameter has to be omitted.
•
• When using a bit rate of 300 bps there must be a delay of 500ms before entering the next command. At bit rates of 1200 bps the delay must be 300ms. For higher bit rates use of the default delay is sufficient.
• TC65's autobaud feature detects the bit rate currently used by the TE. However, this detection suffers some limitations described in Section 4.9.1, Autobauding. If autobauding is enabled, the AT+ICF read command does not show the current character framing, but the character framing that will be used when autobauding is disabled.
• For compatibility reasons, the command can be used in Multiplex mode, though the settings will not take effect. Please note that changes made on multiplex channel 1 will be saved with AT&W and will become active when restarting the ME after AT^SMSO.
• If a <format> is selected without parity (e.g. <format>=3) and you try to activate a format with parity (e.g. <format>=2), you need to explixitly set the parameter <parity> (e.g. AT+ICF=2,1). Otherwise you will get '+CME ERROR: invalid index'. This is because for <format>=3, the parameter <parity> is set to the internal value 'no parity' which is not supported by <format>=2. (Remember that if an optional parameter is omitted for which no default is stated in this specification, the value of the parameter remains unchanged).
|